package com.glsc.ngateway.common.base.domain.oracle.ecology;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;

/**
 * @Auther: gaojc
 * @Date: 2021/9/24 13:28
 * @Description:
 */
@Entity
@Table(name = "HRMDEPARTMENT", schema = "ECOLOGY_TARGET", catalog = "")
public class Hrmdepartment {
    private Integer id;
    private String departmentmark;
    private String departmentname;
    private Integer subcompanyid1;
    private Integer supdepid;
    private String allsupdepid;
    private Integer showorder;
    private String canceled;
    private String departmentcode;
    private Integer coadjutant;
    private String zzjgbmfzr;
    private String zzjgbmfgld;
    private String jzglbmfzr;
    private String jzglbmfgld;
    private String bmfzr;
    private String bmfgld;
    private String outkey;
    private Integer budgetatuomoveorder;
    private String ecologyPinyinSearch;
    private Integer tlevel;
    private Timestamp created;
    private Integer creater;
    private Timestamp modified;
    private Integer modifier;

    @Id
    @Column(name = "ID", nullable = false, precision = 0)
    public Integer isId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "DEPARTMENTMARK", nullable = true, length = 480)
    public String getDepartmentmark() {
        return departmentmark;
    }

    public void setDepartmentmark(String departmentmark) {
        this.departmentmark = departmentmark;
    }

    @Basic
    @Column(name = "DEPARTMENTNAME", nullable = true, length = 1000)
    public String getDepartmentname() {
        return departmentname;
    }

    public void setDepartmentname(String departmentname) {
        this.departmentname = departmentname;
    }

    @Basic
    @Column(name = "SUBCOMPANYID1", nullable = true, precision = 0)
    public Integer getSubcompanyid1() {
        return subcompanyid1;
    }

    public void setSubcompanyid1(Integer subcompanyid1) {
        this.subcompanyid1 = subcompanyid1;
    }

    @Basic
    @Column(name = "SUPDEPID", nullable = true, precision = 0)
    public Integer getSupdepid() {
        return supdepid;
    }

    public void setSupdepid(Integer supdepid) {
        this.supdepid = supdepid;
    }

    @Basic
    @Column(name = "ALLSUPDEPID", nullable = true, length = 2000)
    public String getAllsupdepid() {
        return allsupdepid;
    }

    public void setAllsupdepid(String allsupdepid) {
        this.allsupdepid = allsupdepid;
    }

    @Basic
    @Column(name = "SHOWORDER", nullable = true, precision = 0)
    public Integer getShoworder() {
        return showorder;
    }

    public void setShoworder(Integer showorder) {
        this.showorder = showorder;
    }

    @Basic
    @Column(name = "CANCELED", nullable = true, length = 1)
    public String getCanceled() {
        return canceled;
    }

    public void setCanceled(String canceled) {
        this.canceled = canceled;
    }

    @Basic
    @Column(name = "DEPARTMENTCODE", nullable = true, length = 800)
    public String getDepartmentcode() {
        return departmentcode;
    }

    public void setDepartmentcode(String departmentcode) {
        this.departmentcode = departmentcode;
    }

    @Basic
    @Column(name = "COADJUTANT", nullable = true, precision = 0)
    public Integer getCoadjutant() {
        return coadjutant;
    }

    public void setCoadjutant(Integer coadjutant) {
        this.coadjutant = coadjutant;
    }

    @Basic
    @Column(name = "ZZJGBMFZR", nullable = true, length = 4000)
    public String getZzjgbmfzr() {
        return zzjgbmfzr;
    }

    public void setZzjgbmfzr(String zzjgbmfzr) {
        this.zzjgbmfzr = zzjgbmfzr;
    }

    @Basic
    @Column(name = "ZZJGBMFGLD", nullable = true, length = 4000)
    public String getZzjgbmfgld() {
        return zzjgbmfgld;
    }

    public void setZzjgbmfgld(String zzjgbmfgld) {
        this.zzjgbmfgld = zzjgbmfgld;
    }

    @Basic
    @Column(name = "JZGLBMFZR", nullable = true, length = 4000)
    public String getJzglbmfzr() {
        return jzglbmfzr;
    }

    public void setJzglbmfzr(String jzglbmfzr) {
        this.jzglbmfzr = jzglbmfzr;
    }

    @Basic
    @Column(name = "JZGLBMFGLD", nullable = true, length = 4000)
    public String getJzglbmfgld() {
        return jzglbmfgld;
    }

    public void setJzglbmfgld(String jzglbmfgld) {
        this.jzglbmfgld = jzglbmfgld;
    }

    @Basic
    @Column(name = "BMFZR", nullable = true, length = 4000)
    public String getBmfzr() {
        return bmfzr;
    }

    public void setBmfzr(String bmfzr) {
        this.bmfzr = bmfzr;
    }

    @Basic
    @Column(name = "BMFGLD", nullable = true, length = 4000)
    public String getBmfgld() {
        return bmfgld;
    }

    public void setBmfgld(String bmfgld) {
        this.bmfgld = bmfgld;
    }

    @Basic
    @Column(name = "OUTKEY", nullable = true, length = 800)
    public String getOutkey() {
        return outkey;
    }

    public void setOutkey(String outkey) {
        this.outkey = outkey;
    }

    @Basic
    @Column(name = "BUDGETATUOMOVEORDER", nullable = true, precision = 0)
    public Integer getBudgetatuomoveorder() {
        return budgetatuomoveorder;
    }

    public void setBudgetatuomoveorder(Integer budgetatuomoveorder) {
        this.budgetatuomoveorder = budgetatuomoveorder;
    }

    @Basic
    @Column(name = "ECOLOGY_PINYIN_SEARCH", nullable = true, length = 1000)
    public String getEcologyPinyinSearch() {
        return ecologyPinyinSearch;
    }

    public void setEcologyPinyinSearch(String ecologyPinyinSearch) {
        this.ecologyPinyinSearch = ecologyPinyinSearch;
    }

    @Basic
    @Column(name = "TLEVEL", nullable = true, precision = 0)
    public Integer getTlevel() {
        return tlevel;
    }

    public void setTlevel(Integer tlevel) {
        this.tlevel = tlevel;
    }

    @Basic
    @Column(name = "CREATED", nullable = true)
    public Timestamp getCreated() {
        return created;
    }

    public void setCreated(Timestamp created) {
        this.created = created;
    }

    @Basic
    @Column(name = "CREATER", nullable = true, precision = 0)
    public Integer getCreater() {
        return creater;
    }

    public void setCreater(Integer creater) {
        this.creater = creater;
    }

    @Basic
    @Column(name = "MODIFIED", nullable = true)
    public Timestamp getModified() {
        return modified;
    }

    public void setModified(Timestamp modified) {
        this.modified = modified;
    }

    @Basic
    @Column(name = "MODIFIER", nullable = true, precision = 0)
    public Integer getModifier() {
        return modifier;
    }

    public void setModifier(Integer modifier) {
        this.modifier = modifier;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Hrmdepartment that = (Hrmdepartment) o;
        return id == that.id && Objects.equals(departmentmark, that.departmentmark) && Objects.equals(departmentname, that.departmentname) && Objects.equals(subcompanyid1, that.subcompanyid1) && Objects.equals(supdepid, that.supdepid) && Objects.equals(allsupdepid, that.allsupdepid) && Objects.equals(showorder, that.showorder) && Objects.equals(canceled, that.canceled) && Objects.equals(departmentcode, that.departmentcode) && Objects.equals(coadjutant, that.coadjutant) && Objects.equals(zzjgbmfzr, that.zzjgbmfzr) && Objects.equals(zzjgbmfgld, that.zzjgbmfgld) && Objects.equals(jzglbmfzr, that.jzglbmfzr) && Objects.equals(jzglbmfgld, that.jzglbmfgld) && Objects.equals(bmfzr, that.bmfzr) && Objects.equals(bmfgld, that.bmfgld) && Objects.equals(outkey, that.outkey) && Objects.equals(budgetatuomoveorder, that.budgetatuomoveorder) && Objects.equals(ecologyPinyinSearch, that.ecologyPinyinSearch) && Objects.equals(tlevel, that.tlevel) && Objects.equals(created, that.created) && Objects.equals(creater, that.creater) && Objects.equals(modified, that.modified) && Objects.equals(modifier, that.modifier);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, departmentmark, departmentname, subcompanyid1, supdepid, allsupdepid, showorder, canceled, departmentcode, coadjutant, zzjgbmfzr, zzjgbmfgld, jzglbmfzr, jzglbmfgld, bmfzr, bmfgld, outkey, budgetatuomoveorder, ecologyPinyinSearch, tlevel, created, creater, modified, modifier);
    }
}
